package com.codedancer.campus.manager.service.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 表白墙导出Excel
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ConfessionalWallExcel {

    @Excel(name = "发布人", width = 30)
    private String publishNickName;

    @Excel(name = "发布学校", width = 30)
    private String publishSchoolName;

    @Excel(name = "发布内容", width = 150)
    private String content;

    @Excel(name = "浏览量", width = 30)
    private Integer viewCount;

    @Excel(name = "评论量", width = 30)
    private Integer commentCount;

    @Excel(name = "点赞量", width = 30)
    private Integer kudosCount;

    @Excel(name = "是否同步自由广场", width = 20, replace = {"同步_true", "未同步_false"})
    private Boolean isSyncLibertySquare;

    @Excel(name = "发布时间", width = 30, format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
